﻿using BestTrader.Cms.IServices;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace BestTrader.Cms.Hangfire
{
    public class StartService : IStartService
    {
        private readonly ILogger<StartService> _logger;
        private IBatchService _batchService;
        public StartService(ILoggerFactory loggerFactory,
            IBatchService batchService)
        {
            _logger = loggerFactory.CreateLogger<StartService>();
            _batchService = batchService;
        }
        public void Start()
        {
            //_batchService.GetRebateRecord();
            Console.WriteLine("_batchService.GetRebateRecord();");
        }
    }
}
